package service;

import java.rmi.Remote;
import java.rmi.RemoteException;

import dto.Account;
import dto.Message;
import java.util.Vector;

public interface ChatClientService extends Remote {

    void reciveMessage(Message message, ChatRoomInt cs) throws RemoteException;
    
    void reciveBuzz(ChatRoomInt cs)throws RemoteException;

    void announce(String Announcement) throws RemoteException;

    void receive_file_imfo(Message message, ChatRoomInt cs) throws RemoteException;

    void notifyState(Account account) throws RemoteException;

    Account getLoggedInAccount() throws RemoteException;

    void friendRequest(Account senderAccount) throws RemoteException;

    void friendRequestReply(Account userWhoReply, int reply) throws RemoteException;

    void setAccount(Account a) throws RemoteException;

    void updateMembersList(Account account,ChatRoomInt room) throws RemoteException;
    
    void addToMemberList(Account account,ChatRoomInt room)throws RemoteException;
    
    void terminateAbnormaly() throws RemoteException;
}
